package com.example.lcpharmacy.entity;

import java.math.BigDecimal;
import java.util.Date;

public class CartEntity {
    private Integer id;
    private Integer cartCode;
    private Integer orderCode;
    private String goodsCode;
    private BigDecimal quantity;

    /**
     * 用户名
     */
    private String name;

    private String status;
    private Date modifyTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCartCode() {
        return cartCode;
    }

    public void setCartCode(Integer cartCode) {
        this.cartCode = cartCode;
    }

    public Integer getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(Integer orderCode) {
        this.orderCode = orderCode;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "CartEntity{" +
                "id=" + id +
                ", cartCode=" + cartCode +
                ", orderCode=" + orderCode +
                ", goodsCode='" + goodsCode + '\'' +
                ", quantity=" + quantity +
                ", name='" + name + '\'' +
                ", status='" + status + '\'' +
                ", modifyTime=" + modifyTime +
                '}';
    }
}
